clarify warning message about PIC/PIE
authorDebian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Wed, 19 Aug 2020 17:40:32 +0000 (18:40 +0100)
committerDmitry Shachnev <mitya57@debian.org>
Wed, 19 Aug 2020 17:40:32 +0000 (18:40 +0100)
Origin: upstream, https://code.qt.io/cgit/qt/qtbase.git/commit/?id=e2265965083343aa
Last-Update: 2020-07-08

Gbp-Pq: Name clarify_pic_message.diff

src/corelib/global/qglobal.h

index fe8e8e8bc848f04dc644be178392508c644bda01..7d20af84607a3a710d85632dcc7cb66bd7b40718 100644 (file)
@@ -1280,7 +1280,7 @@ Q_CORE_EXPORT int qrand();
 #if !defined(QT_BOOTSTRAPPED) && defined(QT_REDUCE_RELOCATIONS) && defined(__ELF__) && \
     (!defined(__PIC__) || (defined(__PIE__) && defined(Q_CC_GNU) && Q_CC_GNU >= 500))
 #  error "You must build your code with position independent code if Qt was built with -reduce-relocations. "\
-         "Compile your code with -fPIC (-fPIE is not enough)."
+         "Compile your code with -fPIC (and not with -fPIE)."
 #endif
 
 namespace QtPrivate {